@charset "UTF-8";
.publish-container {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  min-height: 400px;
}

.publish-container .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.publish-container .header h2 {
  margin-bottom: 0;
}

.publish-container .search-area {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.publish-container .error-message {
  background-color: #fff2f0;
  border: 1px solid #ffccc7;
  border-radius: 4px;
  color: #ff4d4f;
  padding: 10px 15px;
  margin-bottom: 16px;
}

.publish-container .ant-empty {
  margin: 32px 0;
}

.publish-container .ant-table-tbody > tr:hover > td {
  background-color: #e6f7ff;
}

.publish-container .ant-card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.publish-container .ant-btn.ant-btn-sm {
  font-size: 12px;
}

.publish-container .action-column {
  white-space: nowrap;
}

.publish-container .news-publish-table .ant-table .ant-table-content {
  overflow-x: auto;
}

.publish-container .news-publish-table .ant-table .ant-table-content::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.publish-container .news-publish-table .ant-table .ant-table-content::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

.publish-container .news-publish-table .ant-table .ant-table-content::-webkit-scrollbar-thumb {
  background: #1890ff;
  border-radius: 3px;
}

.publish-container .news-publish-table .ant-table .ant-table-content::-webkit-scrollbar-thumb:hover {
  background: #096dd9;
}

/* 强制设置表格滚动条样式 */
.ant-table-wrapper .ant-table-body::-webkit-scrollbar,
.ant-table-wrapper .ant-table-body::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}

.ant-table-wrapper .ant-table-body::-webkit-scrollbar-track,
.ant-table-wrapper .ant-table-body::-webkit-scrollbar-track {
  background: #f5f5f5 !important;
  border-radius: 3px !important;
}

.ant-table-wrapper .ant-table-body::-webkit-scrollbar-thumb,
.ant-table-wrapper .ant-table-body::-webkit-scrollbar-thumb {
  background: #1890ff !important;
  border-radius: 3px !important;
}

.ant-table-wrapper .ant-table-body::-webkit-scrollbar-thumb:hover,
.ant-table-wrapper .ant-table-body::-webkit-scrollbar-thumb:hover {
  background: #096dd9 !important;
}

/* 确保滚动区域可见 */
.ant-table-wrapper .ant-table-body {
  overflow-x: auto !important;
  overflow-y: auto !important;
}

/* 表格样式增强 */
.ant-table {
  border-radius: 8px;
  overflow: hidden;
}

.ant-table .ant-table-container {
  border-radius: 8px;
  overflow: hidden;
}

.ant-table .ant-table-content {
  overflow: auto;
}

/* 按钮增强 */
.ant-btn-sm {
  font-size: 12px;
  height: 24px;
  padding: 0px 7px;
}

.ant-btn-sm.ant-btn-primary {
  background-color: #1890ff;
}

.ant-btn-sm.ant-btn-primary:hover {
  background-color: #40a9ff;
}

.ant-btn-sm.ant-btn-dangerous {
  color: #ff4d4f;
  border-color: #ff4d4f;
}

.ant-btn-sm.ant-btn-dangerous.ant-btn-primary {
  background-color: #ff4d4f;
  border-color: #ff4d4f;
  color: white;
}

.ant-btn-sm.ant-btn-dangerous.ant-btn-primary:hover {
  background-color: #ff7875;
  border-color: #ff7875;
}

.error-message {
  padding: 20px;
  text-align: center;
  color: #f5222d;
  background-color: #fff1f0;
  border: 1px solid #ffccc7;
  border-radius: 4px;
  margin: 20px;
  font-size: 16px;
}
